home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / angry / shared.cst / 00005_Script_loop2 end frame script < prev    next >
Text File  |  1999-03-01  |  540b  |  30 lines

  1. global gLoopList
  2.  
  3. on exitFrame
  4.   
  5.   append gLoopList, 1
  6.   
  7.   if count(gLoopList) < 2 then
  8.     go to frame "frameLoop"
  9.   else if count(gLoopList) >= 2 then
  10.     repeat with i = 1 to 6
  11.       if soundBusy(i) then sound stop i
  12.     end repeat
  13.     cursor 200
  14.     go to frame "welcomeBack" of movie "main"
  15.     updatestage
  16.     
  17.   end if
  18.   
  19. end exitFrame
  20.  
  21.  
  22. on mouseDown 
  23.   repeat with i = 1 to 6
  24.     if soundBusy(i) then sound stop i
  25.   end repeat
  26.   
  27.   cursor 200
  28.   go to frame "welcomeBack" of movie "main"
  29. end mouseDown
  30.